home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3541 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: sn.no!not-for-mail
  2. From: christon@sn.no (Christopher Naas)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Datatypes bitmap problems
  5. Date: 20 Feb 1996 18:25:36 +0100
  6. Organization: SN Internett
  7. Message-ID: <891.6624T1041T2573@sn.no>
  8. References: <4g5lq2$6pn@rock101.genie.net> <3128f34d.0@eden.adam.com.au>
  9. NNTP-Posting-Host: sinsen.sn.no
  10. X-Newsreader: THOR 2.21 (Amiga;SOUP)
  11.  
  12. jonathan potter wrote:
  13.  
  14. >: 2. You don't.  You need to copy it, or keep the object.  You wouldn't want
  15. >: to keep it, since you wouldn't know how to free it later.  I usually keep
  16. >: the object.  Use PDTA_FreeSourceBitMap, TRUE and the original bitmap will
  17. >: get deleted, only the source
  18. >: <<<not source ignore that///  only the remapped bitmap is left.  The
  19. >: overhead of the datatype object isn't that much.  Just free the object
  20. >: later, when you're done with the bitmap.
  21. >The other point is that if you free the object, you will lose any pens it
  22. >had allocated for the remapped picture.
  23. Damn. Is there no way I can make the datatypes remap to the closest possible
  24. colors on screen without allocating new ones?
  25.  
  26. --
  27. Christopher Landmark Naas    o  EMail: christon@sn.no
  28. LoungeBar Development        o  WWW:   http://www.sn.no/~christon/
  29. Former Reg. Amiga Developer  o  IRC:   KarmaComa
  30.